package com.xzt.meeting.entity;


import java.util.ArrayList;
import java.util.List;

public class Dept {

  private Long id;
  private String name;

  // 部门下的人员
  private List<User> userList=new ArrayList<>(0);

 public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<User> getUserList() {
    return userList;
  }

  public void setUserList(List<User> userList) {
    this.userList = userList;
  }

  @Override
  public String toString() {
    return "Dept{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", userList=" + userList +
            '}';
  }
}
